package net.sppan.base.service;

import java.util.List;
import java.util.Map;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.query.Param;

import net.sppan.base.entity.ContentExuser;
import net.sppan.base.entity.DyContexts;
import net.sppan.base.entity.ExContentView;
import net.sppan.base.service.support.IBaseService;

public interface IContentExuserService extends IBaseService<ContentExuser, Long>{
	
	public void saveList(List<ContentExuser> contentExusers);

	void distributionBy(String userId,String dyId,Integer size);
	 
	
	
	Page<DyContexts> findContentExuserByDyId(String dyId,Long countentId,Pageable pageable);
	 

	public Long upateExConten(ContentExuser exuserContent);

	Map<String, Object> updateExDyIdContent(ContentExuser exuserContent);

	Page<ExContentView> findContentExuserByUserId(Long userId, Pageable pageable);

	Long getExtaskNum(Long exuserId);

	public void updateContentExuserBlocked(String publisherDyId);

}
